<?php
/**
 * welcome developer.
 * author: liangbo
 * company:tencent suzhou
 * contact:173120209
 * mobile:18550451730
 * Date: 2016-12-17
 * Time: 10:43
 */



// 初始化常量
defined('TENCENT_PATH') or define('TENCENT_PATH', __DIR__.'/');
defined('APP_PATH') or define('APP_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/');
defined('APP_DEBUG') or define('APP_DEBUG', false);
defined('CONFIG_PATH') or define('CONFIG_PATH', APP_PATH.'config/');
defined('RUNTIME_PATH') or define('RUNTIME_PATH', APP_PATH.'runtime/');



// 包含配置文件
require APP_PATH . 'config/config.php';


//包含核心框架类
require TENCENT_PATH . 'core.php';


// 实例化核心类
$tencent = new core;
$tencent->run();